package com.qf.service;

import com.qf.domain.Goods;
import com.qf.domain.PageBean;

import java.util.List;

public interface GoodsService {
    PageBean<Goods> findByPage(int page_num, int page_size, String where, List<Object> params);

    Goods findById(Integer gid);

    void add(Goods goods);

//后加:后台查询商品
    List<Goods> adminFind(StringBuilder where, List<Object> params);

    void adminDeleteGoods(int gid);
}
